<template>
	<NMessageProvider>
		<NDialogProvider>
			<NuxtLayout />
		</NDialogProvider>
	</NMessageProvider>
</template>

<script lang="ts" setup>
import {
  NMessageProvider,
  NDialogProvider
} from 'naive-ui'

useHead({
	titleTemplate: (_title) => {
		return _title ? _title + ' - Headphone official website' : 'Headphone official website'
	}
})
</script>

<style>
	.n-message-wrapper {
        z-index: 9999
    }
</style>
